package com.shortlink.pojos.dto.resp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shortlink.common.serialize.PhoneDesensitizationSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class UserRespDTO {
    /**
     * 字母组成
     */
    private String username;

    @ApiModelProperty("用户真实姓名")
    private String realName;

    @JsonSerialize(using = PhoneDesensitizationSerializer.class)
    private String phone;

    private String mail;

    private Date createTime;

    private Date updateTime;
}
